package com.two.shopping.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShoppingCart {
    private int id;//
    private int userId;//用户id
    private int commodityId;//商品id
    private String commodityName;//商品的名称
    private int quantity;//购物车中商品数量
    private float price;//购物车商品价格
    private LocalDateTime createTime;//创建时间
    private LocalDateTime updateTime;//修改时间
}
